body{
    background-color: aliceblue;
}

/* header 头部 开始 */
header{
    width: 1350px;
    margin: 20px auto;
    /* 伸缩布局 */
    display: flex;
    /* 每个子盒子的左右添加margin */
    justify-content: space-around;
    /* 垂直方向居中 */
    align-items: center;
}

/* 195 x 42 */
.logo{
    width: 195px;
    height: 42px;
}
.logo a{
    display: block;
    width: 100%;
    height: 100%;
    background: url(../images/logo.png) no-repeat;
    /* 隐藏超链接中的文字 */
    text-indent: -990px;
    overflow: hidden;
}

/* nav */
nav{
    width: 280px;
    margin-left: 20px;
}

nav ul{
    display: flex;
    /* 添加间距 */
    gap:20px;
    font-size:18px;
}

nav ul li a:hover{
    border-bottom: 2px solid #49A2F8;
}

/* search */
.search{
    display: flex;
    align-items: center;
}

.search input{
    width: 360px;
    height: 40px;
    border: 1px solid #49A2F8;
    /* 隐藏轮廓线 */
    outline: none;  
}

/* 50 x 40 */
.search button{
    width: 50px;
    height: 40px;
    border: 0;
     /* 隐藏轮廓线 */
    outline: none;  
    background: url(../images/fa-search.png) no-repeat;
}

/* 个人中心 */
.personal{
    width: 360px;
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: 20px;
}

.alarm{
    /* 父相子绝 */
    position: relative;
}

.alarm span{
    position: absolute;
    top: 0;
    right: -5px;
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: red;
}

/* 33 x 33 */
.avatar img{
    border-radius: 50%;
    transition: all 0.5s linear 0s;
    margin: 10px;
}

.avatar img:hover{
    transform: rotate(-360deg);
}


/* header 头部 结束 */


/* banner 开始 */
.banner{
    background-color: #190467;
    display: flex;
    justify-content: space-around;
}

/* 1199 x 420 */
.inner{
    width: 1199px;
    height: 420px;
    background: url(../images/banner.jpg) no-repeat;
    /* 伸缩布局 */
    display: flex;
    /* 左右盒子贴着父元素，中间空白间隙平均分配 */
    justify-content: space-between;
    /* 垂直方向居中 */
    align-items: center;
}

/* 左侧边栏 */
.subnav ul{
    width: 240px;
    height: 420px;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    /* 垂直方向 从上到下排列 */
    flex-direction: column;
    /* 每个子盒子的左右添加margin */
    justify-content: space-around;
}

.subnav li{
    margin-top: 10px;
}

.subnav a{
    color: white;
    font-size: 14px;
    margin: 20px;
}

.subnav a span{
    margin-left: 70px;
}

/* 圆点 */
.circle{
    display: flex;
    margin-top: 360px;
}

.circle li{
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    margin: 5px;
    transition: all 0.5s;
}

.circle li:hover{
    background-color:white;
}

/* 我的课程表 */
.classbook{
    background-color: white;
}

.classbook dt{
    width: 200px;
    height: 50px;
    background-color: #A6CDE7;
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    line-height: 50px;
}

.classbook dd ul{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.classbook dd li{
    padding-top: 15px;
    border-bottom: 1px solid #ccc;
}

.classbook dd li:last-child{
    border:0;
}

.classbook h5{
    font-size: 16px;
}

.classbook .all{
    display: block;
    width: 80%;
    height: 40px;
    margin: 15px auto;
    color: #49A2F8;
    border: 1px solid #49A2F8;
    text-align: center;
    line-height: 40px;
    font-size: 16px;
}

.classbook .all:hover{
    background-color: #49A2F8;
    color: white;
}



/* banner 结束 */

/*  Recommend开始*/

.Recommend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1199px;
  height: 50px;
  margin: 10px auto 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1),
              0 2px 4px rgba(0,0,0,0.06);
}

.Recommend .pf {
  color: #49A2F8;
  font-size: 20px;
  margin: 0 20px;
  line-height: 50px;
}

.Recommend ul {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.Recommend ul li {
  font-size: 15px;
}

.Recommend ul li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 30px;
  background: #ccc;
  margin: 0 10px;
  vertical-align: middle;
}

.Recommend ul::before,
.Recommend ul::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 30px;
  background: #ccc;
  vertical-align: middle;
}

.Recommend ul::before {
  margin-right: 10px;
}
.Recommend ul::after {
  margin-left: 10px;
}

.Recommend .alter {
  font-size: 15px;
  margin-right: 10px;
}

/*  Recommend结束*/

/* products开始 */
.products {
  width: 1199px;
  margin: 0 auto;
}

.title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.title span {
  font-weight: bold;
  color: #666;
  font-size: 20px;
}

.title a {
  color: #007BFF;
  text-decoration: none;
}

.products2 {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.p1 {
  width: 233px;
  height: auto;
  background: #fff;
  box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

.p1 img {
  width: 233px;
  height: 155px;
  display: block;
}

.info {
  background: #fff;
  width: 233px;
  height: auto;
  padding: 10px;
  box-sizing: border-box;
}

.info .line1 {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.info .line2 {
  font-size: 15px;
  font-weight: bold;
  color: #000;
  margin-bottom: 10px;
}

.info .line3 {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #999;
}

.info .level {
  color: orange;
  margin-right: 8px;
}

.info .dot {
  width: 6px;
  height: 6px;
  background-color: #999;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}

.info .learners {
  color: #999;
}


/* products结束 */


/* footer开始 */
.footer{
    display: flex;
    width: 100%;
    justify-content: space-around;
    background-color: white;
}

.footer .left{
    margin-left: 200px;
    display:  flex;
    flex-direction: column;
    justify-content:space-between
}
.footer .left .text{
    margin-top: 20px;
}
.footer .right{
    display: flex;
    margin-right: 130px;
}
.footer .right ul{
    margin: 40px;
    
}

.footer .right ul li.title {
    font-size: 15px;       
    margin-bottom: 12px;   
    
}
.custom-button {
    width: 80px;           
    height: 40px;           
    line-height: 5px;      
    padding: 0;           
    border: 1px solid ;
    background-color: transparent;
    color: #49A2F8;
    font-size: 15px;       
    text-align: center;
    cursor: pointer;
    margin-bottom: 20px;
}

.logo1{
    width: 195px;
    height: 42px;
}
.logo1 a{
    margin-top: 30px;
    display: block;
    width: 100%;
    height: 100%;
    background: url(../images/logo.png) no-repeat;
    /* 隐藏超链接中的文字 */
    text-indent: -990px;
    overflow: hidden;
}




